﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities;

namespace HCD.His.Dtos
{
    public class HisOperationDto : Entity<long>
    {
        /// <summary>
        /// 病人标识号
        /// </summary>
        public string PatientId { get; set; }

        /// <summary>
        /// 病人本次住院标识
        /// </summary>
        public string VisitId { get; set; }

        /// <summary>
        /// 手术安排标识
        /// </summary>
        public string OperationId { get; set; }

        /// <summary>
        /// 病人所在科室
        /// </summary>
        public string DeptStayed { get; set; }

        /// <summary>
        /// 病人所在床号
        /// </summary>
        public int? BedNo { get; set; }

        /// <summary>
        /// 术前主要诊断
        /// </summary>
        public string DiagBeforeOperation { get; set; }

        /// <summary>
        /// 手术代码
        /// </summary>
        public string OperationCode { get; set; }

        /// <summary>
        /// 手术名称
        /// </summary>
        public string OperationName { get; set; }

        /// <summary>
        /// 手术等级
        /// </summary>
        public string OperationScale { get; set; }

        /// <summary>
        /// 申请日期及时间
        /// </summary>
        public DateTime ReqDateTime { get; set; }

        /// <summary>
        /// 手术日期及时间
        /// </summary>
        public DateTime? ScheduledDateTime { get; set; }

        /// <summary>
        /// 手术状态( 0 申请中 1 已安排 2 手术完成 3手术取消)
        /// </summary>
        public string OperationStatus { get; set; }
    }
}
